package com.mall.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mall.entity.SpuInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品评价
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-08-24 16:47:36
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfo> {


    List<SpuInfo> selectBySales(String name);

    List<SpuInfo> selectByPriceAsc(String name);

    List<SpuInfo> selectByPriceDes(String name);

    List<SpuInfo> selectByDate(String name);

}
